package cn.cds.withyou.lib;

import android.net.Uri;

public class Constants {

    public static final String BASE_URI = "content://cn.cds.withyou.base.";

    public static final String _ID = "id";

    public static class UserInfo {
        public static final String TABLENAME = "UserInfo";
        public static final Uri URI = Uri.parse(BASE_URI + TABLENAME);
        public static final String _PHONE_ITEM = "phone_item";
        public static final String _PASSWD_ITEM = "passwd_item";
        public static final String _GENDER_ITEM = "gender_item";
        public static final String _INFO_ITEM = "info_item";
        public static final String _NAME_ITEM = "name_item";
        public static final String _QQ_ITEM = "qq_item";
        public static final String _COLLEGE_ITEM = "college_item";
        public static final String _PROFESSION_ITEM = "professtion_item";
        public static final String _TOKEN_ITEM = "token_item";

        public static final String[] _ITEMS = new String[]{_ID, _PHONE_ITEM, _PASSWD_ITEM, _GENDER_ITEM, _INFO_ITEM, _NAME_ITEM, _QQ_ITEM, _COLLEGE_ITEM, _PROFESSION_ITEM, _TOKEN_ITEM};
    }

    public static class Game {
        public static final String TABLENAME = "Game";
        public static final Uri URI = Uri.parse(BASE_URI + TABLENAME);
        public static final String _GAME_NAME = "game_name";
        public static final String _SIGNUP_START_TIME = "signup_start_time";
        public static final String _SIGNUP_END_TIME = "signup_end_time";
        public static final String _GAME_START_TIME = "game_start_time";
        public static final String _GAME_END_TIME = "game_end_time";
        public static final String _GAME_CONTENT = "game_content";
        public static final String _GAME_PIC = "game_pic";

        public static final String[] _ITEMS = new String[]{_ID, _GAME_NAME, _SIGNUP_START_TIME, _SIGNUP_END_TIME, _GAME_START_TIME, _GAME_END_TIME, _GAME_CONTENT, _GAME_PIC};
    }

    public static class GamePlayer {
        public static final String TABLENAME = "GamePlayer";
        public static final Uri URI = Uri.parse(BASE_URI + TABLENAME);
        public static final String _GAME_ID = "game_id";
        public static final String _PHONE_ITEM = "phone_item";
        public static final String _JOIN_TIME = "join_time";

        public static final String[] _ITEMS = new String[]{_ID, _GAME_ID, _PHONE_ITEM, _JOIN_TIME};
    }

    public static class Activity {
        public static final String TABLENAME = "Activity";
        public static final Uri URI = Uri.parse(BASE_URI + TABLENAME);
        public static final String _ACTIVITY_NAME = "_activity_name";
        public static final String _SIGNUP_START_TIME = "signup_start_time";
        public static final String _SIGNUP_END_TIME = "signup_end_time";
        public static final String _ACTIVITY_START_TIME = "activity_start_time";
        public static final String _ACTIVITY_END_TIME = "activity_end_time";
        public static final String _ACTIVITY_CONTENT = "activity_content";
        public static final String _ACTIVITY_PIC = "activity_pic";
        public static final String _ACTIVITY_COMMENT = "activity_comment";
        public static final String _ACTIVITY_ADDRESS = "activity_address";

        public static final String[] _ITEMS = new String[]{_ID, _ACTIVITY_NAME, _SIGNUP_START_TIME, _SIGNUP_END_TIME, _ACTIVITY_START_TIME, _ACTIVITY_END_TIME, _ACTIVITY_CONTENT, _ACTIVITY_PIC, _ACTIVITY_COMMENT, _ACTIVITY_ADDRESS};
    }

    public static class ActivityJoiner {
        public static final String TABLENAME = "ActivityJoiner";
        public static final Uri URI = Uri.parse(BASE_URI + TABLENAME);
        public static final String _ACTIVITY_ID = "activity_id";
        public static final String _PHONE_ITEM = "phone_item";
        public static final String _JOIN_TIME = "join_time";

        public static final String[] _ITEMS = new String[]{_ID, _ACTIVITY_ID, _PHONE_ITEM, _JOIN_TIME};
    }

    public static class FeedBack {
        public static final String TABLENAME = "Feedback";
        public static final Uri URI = Uri.parse(BASE_URI + TABLENAME);
        public static final String _PHONE_ITEM = "phone_item";
        public static final String _NAME_ITEM = "name_item";
        public static final String _TIME_ITEM = "time_item";
        public static final String _CONTENT_ITEM = "content_item";

        public static final String[] _ITEMS = new String[]{_ID, _PHONE_ITEM, _NAME_ITEM, _TIME_ITEM, _CONTENT_ITEM};
    }

    public static class MemberRequest {
        public static final String TABLE_NAME = "MemberRequest";
        public static final Uri URI = Uri.parse(BASE_URI + TABLE_NAME);
        public static final String _NAME_ITEM = "name_item";
        public static final String _GENDER_ITEM = "gender_item";
        public static final String _PHONE_ITEM = "phone_item";
        public static final String _QQ_ITEM = "qq_item";
        public static final String _EMAIL_ITEM = "email_item";
        public static final String _COLLEGE_ITEM = "college_item";
        public static final String _PROFESSION_ITEM = "profession_item";
        public static final String _DEPARTMENT_ITEM = "department_item";
        public static final String _INTRODUCE_ITEM = "introduce_item";
        public static final String _FAVORITE_ITEM = "favorite_item";
        public static final String _PASSED_ITEM = "passed_item";
        public static final String _CREATE_TIME = "create_time";

        public static final String[] _ITEMS = new String[]{_ID, _NAME_ITEM, _GENDER_ITEM, _PHONE_ITEM, _QQ_ITEM, _EMAIL_ITEM, _COLLEGE_ITEM, _PROFESSION_ITEM, _DEPARTMENT_ITEM, _INTRODUCE_ITEM, _FAVORITE_ITEM, _PASSED_ITEM, _CREATE_TIME};

    }

    public static class VIPRequest {
        public static final String TABLE_NAME = "VIPRequest";
        public static final Uri URI = Uri.parse(BASE_URI + TABLE_NAME);
        public static final String _NAME_ITEM = "name_item";
        public static final String _GENDER_ITEM = "gender_item";
        public static final String _PHONE_ITEM = "phone_item";
        public static final String _QQ_ITEM = "qq_item";
        public static final String _COLLEGE_ITEM = "college_item";
        public static final String _PROFESSION_ITEM = "profession_item";
        public static final String _PASSED_ITEM = "passed_item";
        public static final String _CREATE_TIME = "create_time";

        public static final String[] _ITEMS = new String[]{_ID, _NAME_ITEM, _GENDER_ITEM, _PHONE_ITEM, _QQ_ITEM, _COLLEGE_ITEM, _PROFESSION_ITEM, _PASSED_ITEM, _CREATE_TIME};

    }

    public static class Course {
        public static final String TABLENAME = "Course";
        public static final Uri URI = Uri.parse(BASE_URI + TABLENAME);
        public static final String _TITLE_ITEM = "title_item";
        public static final String _CONTENT_ITEM = "content_item";
        public static final String _PIC_ITEM = "pic_item";
        public static final String _COURSE_URL = "course_url";
        public static final String _TIME_ITEM = "time_item";

        public static final String[] _ITEMS = new String[]{_ID, _TITLE_ITEM, _CONTENT_ITEM, _PIC_ITEM, _COURSE_URL, _TIME_ITEM};
    }

    public static class Verify {
        public static final String TABLENAME = "Verify";
        public static final Uri URI = Uri.parse(BASE_URI + TABLENAME);
        public static final String _PHONE_ITEM = "phone_item";
        public static final String _VERIFY_CODE = "verify_code";
        public static final String _VERIFY_TIME = "verify_time";

        public static final String[] _ITEMS = new String[]{_ID, _PHONE_ITEM, _VERIFY_CODE, _VERIFY_TIME};
    }

    public static class Arena {
        public static final String TABLENAME = "Arena";
        public static final Uri URI = Uri.parse(BASE_URI + TABLENAME);
        public static final String _NAME_ITEM = "arena_name";
        public static final String _PHONE_ITEM = "arena_phone";
        public static final String _ADDRESS_ITEM = "arena_address";
        public static final String _PIC_ITEM = "arena_pic";
        public static final String _COMMENT_ITEM = "arena_comment";
        public static final String _SPACE_COUNT = "arena_space";

        public static final String[] _ITEMS = new String[] {_ID, _NAME_ITEM, _PHONE_ITEM, _ADDRESS_ITEM, _PIC_ITEM, _COMMENT_ITEM, _SPACE_COUNT};
    }

    public static class ArenaBooking {
        public static final String TABLENAME = "ArenaBooking";
        public static final Uri URI = Uri.parse(BASE_URI + TABLENAME);
        public static final String _ARENA_ID = "arena_id";
        public static final String _SPACE_ID = "space_id";
        public static final String _START_TIME = "start_time";
        public static final String _END_TIME  = "end_time";
        public static final String _USER_ID = "user_id";

        public static final String[] _ITEMS = new String[]{_ID, _ARENA_ID, _SPACE_ID, _START_TIME, _END_TIME, _USER_ID};
    }
}
